import 'package:json_annotation/json_annotation.dart';

part 'bind_service_response.g.dart';

@JsonSerializable()
class BindServiceResponse extends Object {
  ///GPtom 包名
  @JsonKey(name: 'packageName', defaultValue: "")
  String packageName;

  ///GPtom 版本号
  @JsonKey(name: 'versionName', defaultValue: "")
  String versionName;

  BindServiceResponse(
    this.packageName,
    this.versionName,
  );

  factory BindServiceResponse.fromJson(Map<String, dynamic> srcJson) =>
      _$BindServiceResponseFromJson(srcJson);

  Map<String, dynamic> toJson() => _$BindServiceResponseToJson(this);
}
